//
//  News.swift
//  ReadHub
//
//  Created by 龙轶群 on 2017/7/30.
//  Copyright © 2017年 longyiqun. All rights reserved.
//

import Foundation

// News类
class News {
    
    // 私有成员
    private var _id: String? = ""
    private var _title: String? = ""
    private var _summary: String? = ""
    private var _publishDate: String? = ""
    private var _siteName: String? = ""
    private var _url: String? = ""
	private var _summaryAuto: String? = ""
	private var _author : String? = ""
    
    // Get&Set方法
    var id: String? {
        get{
            return _id
        }
        set{
            _id = newValue
        }
    }
    
    var title: String? {
        get{
            return _title
        }
        set{
            _title = newValue
        }
    }
    
    var summary: String? {
        get{
            return _summary
        }
        set{
            _summary = newValue
        }
    }
    
    
    var url: String? {
        get{
            return _url
        }
        set{
            _url = newValue
        }
    }
    
    var publishDate: String? {
        get{
            return _publishDate
        }
        set{
            _publishDate = newValue
        }
    }
    
    
    var siteName: String? {
        get{
            return _siteName
        }
        set{
            _siteName = newValue
        }
    }
	
	var summaryAuto: String? {
		get{
			return _summaryAuto
		}
		set{
			_summaryAuto = newValue
		}
	}
	
	var author: String? {
		get{
			return _author
		}
		set{
			_author = newValue
		}
	}
	
	
    
    
}
